package com.rc.pojo.dto.farm;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PoiFarmDTO {
    @NotNull
    @ApiModelProperty(value = "经度",required = true)
    private Double lng;

    @NotNull
    @ApiModelProperty(value = "纬度",required = true)
    private Double lat;

    //智能推荐 模型预测评分进行排序 距离排序 人气排序 评分排序
    @ApiModelProperty("排序字段 可选字段distance距离排序 score推荐排序 recommend推荐人数排序")
    private String sort = "";

    @ApiModelProperty("分类")
    private String type;

    @ApiModelProperty(value = "用户要求的距离m",required = true)
    private Integer distance = 500;
}
